package com.acme.domain.email;

import java.util.List;

public interface Queue {
	
	boolean isOpened();

	boolean opened = true;
	
	Email getEmail(int id);
	
	Email getEmail();
	
	List<Email> getEmails();

	void addEmail(Email email);

	void close();
}
